<%@ page import="com.dbb.entity.shipment.Groups" %>



<div class="fieldcontain ${hasErrors(bean: groupsInstance, field: 'ctn', 'error')} required">
	<label for="ctn">
		<g:message code="groups.ctn.label" default="Ctn" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="ctn" name="ctn.id" from="${com.dbb.entity.shipment.Ctn.list()}" optionKey="id" required="" value="${groupsInstance?.ctn?.id}" class="many-to-one"/>
</div>

<div class="fieldcontain ${hasErrors(bean: groupsInstance, field: 'ctnNum', 'error')} required">
	<label for="ctnNum">
		<g:message code="groups.ctnNum.label" default="Ctn Num" />
		<span class="required-indicator">*</span>
	</label>
	<g:field name="ctnNum" type="number" value="${groupsInstance.ctnNum}" required=""/>
</div>

<div class="fieldcontain ${hasErrors(bean: groupsInstance, field: 'price', 'error')} required">
	<label for="price">
		<g:message code="groups.price.label" default="Price" />
		<span class="required-indicator">*</span>
	</label>
	<g:field name="price" value="${fieldValue(bean: groupsInstance, field: 'price')}" required=""/>
</div>

<div class="fieldcontain ${hasErrors(bean: groupsInstance, field: 'product', 'error')} required">
	<label for="product">
		<g:message code="groups.product.label" default="Product" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="product" name="product.id" from="${com.dbb.entity.Product.list()}" optionKey="id" required="" value="${groupsInstance?.product?.id}" class="many-to-one"/>
</div>

<div class="fieldcontain ${hasErrors(bean: groupsInstance, field: 'realGroup', 'error')} required">
	<label for="realGroup">
		<g:message code="groups.realGroup.label" default="Real Group" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="realGroup" name="realGroup.id" from="${com.dbb.entity.shipment.Groups.list()}" optionKey="id" required="" value="${groupsInstance?.realGroup?.id}" class="many-to-one"/>
</div>

<div class="fieldcontain ${hasErrors(bean: groupsInstance, field: 'shipment', 'error')} required">
	<label for="shipment">
		<g:message code="groups.shipment.label" default="Shipment" />
		<span class="required-indicator">*</span>
	</label>
	<g:select id="shipment" name="shipment.id" from="${com.dbb.entity.shipment.Shipment.list()}" optionKey="id" required="" value="${groupsInstance?.shipment?.id}" class="many-to-one"/>
</div>

